Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

 Helpers

 QuickEQ

  EQCurves

  Equalization

  SignalGeneration

  Utilities

  FilterAnalyzer

  Delay

  Dispose()

  FilterAnalyzer(Filter, int)

  Gain

  GainDecibels

  GetFrequencyResponse()

  GetFrequencyResponseReadonly()

  GetSpectrum()

  GetSpectrumReadonly()

  ImpulseResponse

  Polarity

  Reset(Filter)

  Reset(Filter, int)

  Resolution

  SampleRate

  ToEqualizer(double, double, double, int)

  GraphUtils

  PinkNoiseDetector

  IDisposable

  MeasurementImporter

  MeasurementImporterStatus

  NoisyChannel

  SpeakerSweeper

  VerboseImpulseResponse

  Window

  Windowing

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class FilterAnalyzer

Measures properties of a filter, like frequency/impulse response, gain, or delay.
VisibilityPublic
Modifierssealed
ExtendsIDisposable

Public functions

void Dispose()Free the resources used by this analyzer.
Constructor FilterAnalyzer(Filter filter, int sampleRate)Copy a filter for measurements.
Complex[] GetFrequencyResponse() Get the frequency response of the filter.
ReadOnlyCollection<Complex> GetFrequencyResponseReadonly() Get the frequency response of the filter.
float[] GetSpectrum() Get the absolute of FrequencyResponse up to half the sample rate.
ReadOnlyCollection<float> GetSpectrumReadonly() Get the absolute of FrequencyResponse up to half the sample rate.
void Reset(Filter filter)Change the filter while keeping the sample rate.
void Reset(Filter filter, int sampleRate)Change the filter and the sample rate.
Equalizer ToEqualizer(double startFreq, double endFreq, double resolution = 1 / 3f, int oversampling = 1)Render an approximate Equalizer by the analyzed filter's frequency response.

Public properties

float Delay Response delay in seconds.
float GainMaximum filter amplification.
float GainDecibels Maximum filter amplification in decibels.
float[] ImpulseResponse Filter impulse response samples.
bool Polarity Filter polarity, true if positive.
int ResolutionUsed FFT size for most measurements.
int SampleRateSample rate used for measurements and in filter if it's sample rate-dependent.